package java_exceptions;

public class Practice8_uncheck {
	public static void main(String[] args) {
		try {
			if ("Test".contains(" ")) {
				throw new SpaceyWordException();
			}
			if ("This is a Test".contains(" ")) {
				throw new SpaceyWordException();
			}
		} catch (SpaceyWordException ex) {
			System.out.println(ex.toString());
		}
	}
}
